package com.dchh.android.suverynew.view;

import android.content.Context;
import android.content.pm.PackageManager;

/**
 * Created by eric on 2016/8/2.
 */
public interface ICommonView {
    void showProgressDialog();

    void showProgressDialog(String msg);

    void onError(String errMsg);

    void toast(String msg);

    void closeProgressDialog();

    Context getContext();

    String getVersionName() throws PackageManager.NameNotFoundException;

    boolean isNetWorkAvailable();
}
